package com.dhcc.bpm.modules.sandbox.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.sandbox.entity.CaseApiReturn;
import com.dhcc.bpm.modules.sandbox.vo.CaseApiReturnVO;

/**
 * @ClassName ICaseApiReturnService
 * @Description 沙箱实例API返回码表 服务类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
public interface ICaseApiReturnService extends IService<CaseApiReturn> {

	/**
	 * 自定义分页
	 * @Author sjm
	 * @Date 17:50 2020/2/21 0021
	 * @param page
	 * @param caseApiReturn
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.sandbox.vo.CaseApiReturnVO>
	 **/
	IPage<CaseApiReturnVO> selectCaseApiReturnPage(IPage<CaseApiReturnVO> page, CaseApiReturnVO caseApiReturn);

	/**
	 * 查询实例接口列表
	 * @Author sjm
	 * @Date 17:51 2020/2/21 0021
	 * @param apiId
	 * @param caseId
	 * @return com.dhcc.bpm.modules.sandbox.vo.CaseApiReturnVO
	 **/
	CaseApiReturnVO selectCaseApi(Long apiId, Long caseId);

	/**
	 * 批量删除
	 * @Author sjm
	 * @Date 17:51 2020/2/21 0021
	 * @param apiId
	 * @param caseId
	 * @param ids
	 * @return java.lang.Boolean
	 **/
	Boolean deleteCases(Long apiId, Long caseId, String ids);
}
